package com.yellowpage.ca.service;

import java.util.List;
import java.util.Map;
import java.util.Set;

import com.yellowpage.white.common.PageRender;
import com.yellowpage.white.service.BaseService;

import com.yellowpage.ca.data.User;

public interface UserService extends BaseService {

	/* white generate Method */
	public User getUser(Long id);

	public List<User> getAllUser();

	public List<Map> queryUserByPage(Map queryMap, PageRender pageRender);

	public void saveUser(User user);

	public void updateUser(User user);

	public void delete(List deleteList);

	public User getUserByName(String name);

	public List<Map<String, Object>> getFunctionsByUser(Long userId);

	public Set<String> getFunctionCodesByUser(Long userId);
}
